package com.xujl.mvcbind.bean;


import com.xujl.mvcbind.BR;

import java.io.Serializable;

import androidx.databinding.BaseObservable;
import androidx.databinding.Bindable;

/**
 * @author x
 * @Description
 */
public class UserInfoBean extends BaseObservable implements Serializable {
    private String account;
    private String name;
    private String address;
    private String sign;
    private String email;
    private boolean sex;

    @Bindable
    public String getAccount () {
        return account;
    }

    public void setAccount (String account) {
        this.account = account;
        notifyPropertyChanged(BR.account);
    }

    @Bindable
    public String getName () {
        return name;
    }

    public void setName (String name) {
        this.name = name;
        notifyPropertyChanged(BR.name);
    }

    @Bindable
    public String getAddress () {
        return address;
    }

    public void setAddress (String address) {
        this.address = address;
        notifyPropertyChanged(BR.address);
    }

    @Bindable
    public String getSign () {
        return sign;
    }

    public void setSign (String sign) {
        this.sign = sign;
        notifyPropertyChanged(BR.sign);
    }

    @Bindable
    public boolean isSex () {
        return sex;
    }

    public void setSex (boolean sex) {
        this.sex = sex;
        notifyPropertyChanged(BR.sex);
    }

    @Bindable
    public String getEmail () {
        return email;
    }

    public void setEmail (String email) {
        this.email = email;
        notifyPropertyChanged(BR.email);
    }
}
